<?php declare(strict_types=1);

namespace app\controller;

use app\BaseController;

use app\middleware\Auth as AuthMiddleware;
use app\middleware\Token as TokenMiddleware;

class AuthBase extends BaseController {

    /**
     * 中间件
     * @var array
     */
    protected $middleware = [
        // Token 校验
        TokenMiddleware::class,
        // 授权
        AuthMiddleware::class,
    ];

}